package com.softline.documentsmall.dao;

import com.softline.documentsmall.entity.MaintainLog;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface MaintainLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MaintainLog record);

    int insertSelective(MaintainLog record);

    MaintainLog selectByPrimaryKey(Long id);

    List<MaintainLog> selectMaintainLogList(@Param("type") Integer type, @Param("pageNo")Integer pageNo, @Param("pageSize")Integer pageSize);

    int updateByPrimaryKeySelective(MaintainLog record);

    int updateByPrimaryKey(MaintainLog record);

    List<Long> selectMaintainLogListCount();

    Long selectMaintainLogCount(Integer genre);
}
